﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Animation;
using MapLibrary;
using FarseerPhysics.Dynamics;

namespace AI
{
    class AISystem
    {
        public void update(Level level,World world)
        {
            List<Sprite> sprites = level.Sprites;

            for(int i=0;i<sprites.Count;i++)
            {
                Sprite s = sprites[i];
                if (s != null)
                {
                    s.UpdateAI(level,world);
                }
            }
        }
    }
}
